﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CruzDelSur.Models.ReportesServiciosModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Reportes Servicios
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <h2>ReportesServicios</h2>
 <% Html.RenderPartial("Servicios/MenuSecundarioServicios", new { Action = "ReportesServicios" });%>
<ul class="tabs secondary">
 <li class="active"><a href="<%:Url.Action("Index", "Servicios")%>" class="active">Reporte de Servicios</a></li>

</ul>
<form action="<%:Url.Action("ReportesServicios", "Servicios") %>" method="post" target="_previewFrame_">

 <table class="style1">
    <tr>
        <td class="span-5">Tipo de Reporte</td>
        <td>
            <%: Html.DropDownListFor(model => model.TipoReporte, Model.TipoReporteList) %>
        </td>
    </tr>
    <tr>
        <td class="style3">Servicio</td>
        <td>
            <%: Html.DropDownListFor(model => model.CodServicio, Model.getServicios()) %>
        </td>
    </tr>
    <tr>
        <td class="style3">Tramo</td>
        <td>
            <%: Html.DropDownListFor(model => model.CodTramo, Model.getTramos()) %>
        </td>
    </tr>
    <tr>
        <td class="style3"><%:Html.CheckBoxFor(model => model.FlagBaja) %>Sólo los registros de baja  <br />
        </td>
        <td><%:Html.CheckBoxFor(model => model.FlagTodos) %>Incluir todos los estados  <br />
        <%:Html.CheckBoxFor(model => model.VerGrafico) %> Visualizar gráfico</td>
    </tr>
    <tr>
        <td class="style3">
            
        </td>
        <td>
            <input type="submit" name="submit" value="Refrescar"/>
        </td>
    </tr>
</table>
</form>
<iframe name="_previewFrame_" id="_previewFrame_" width="100%" height="500px"></iframe>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenuSecundario" runat="server">
<% Html.RenderPartial("Servicios/MenuPrincipal"); %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ModuleTitleContent" runat="server">
Reportes
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentEnlacesRapidos" runat="server">
</asp:Content>
